* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

body,
html {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    /* background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0 auto;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    /* max-width: 100vw; */
    /* max-height: 100%; */
    width: 100%;
    height: 100%;
    object-fit: fill;
    background-size: cover;
    z-index: -99;
}

span {
    font-size: 0.3rem;
}

.title {
    position: absolute;
    top: 0;
    left: 50%;
    margin-top: 100px;
    transform: translate(-50%, -50%);
}

.title h1 {
    font-size: 1.3rem;
    color: white;
    text-shadow: 2px 2px 5px #8c8c8c;
}

.start {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 150px;
    transform: translate(-50%, -50%);
}

.start h1 {
    font-size: 1rem;
    color: white;
    text-shadow: 2px 2px 5px #8c8c8c;
}

.start h1:hover {
    cursor: pointer;
    transform: scale(1.2, 1.2);
}

h2 {
    margin: 10px;
    font-size: 0.45rem;
    color: black;
}

h3 {
    font-size: 0.31rem;
    color: black;
}

p {
    font-size: 0.32rem;
    line-height: 0.32rem;
    color: black;
}


.box {
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    padding: 0.6rem;
    width: 12rem;
    height: 8rem;
    text-align: center;
    overflow: hidden;
    max-width: 100vh;
    min-width: 70vh;
    display: none;
}

.login_in form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.login_in form input {
    width: 100%;
    height: 30px;
    font-size: 0.3rem;
    text-indent: 15px;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    margin: 10px;
}

.login_in form button {
    width: 150px;
    height: 35px;
    font-size: 0.32rem;
    border: none;
    outline: none;
    border-radius: 10px;
    background-color: #22a2c3;
    cursor: pointer;
}

.login_in form button:active {
    transform: scale(0.95, 0.95);
}

button.btn {
    background: transparent;
    border-color: #fff;
    border: 1px solid #eba0b3;
    outline: none;
    cursor: pointer;
    width: 100px;
    border-radius: 5px;
    /* transition: all 800ms ease-in; */
    margin: 20px 0;
    padding: 10px;
}

button.btn:active {
    /* transition: all 800ms ease-in; */
    transform: scale(0.95, 0.95);
}

.login_in {
    position: absolute;
    top: 0;
    height: 100%;
    transition: all 0.5s ease-in;
}

.login_in1 {
    left: 0;
    width: 50%;
    z-index: 2;
    background-color: white;
}

.login_reg {
    left: 0;
    width: 50%;
    z-index: 1;
    opacity: 0;
}

.sidebar {
    background: url('../images/女一.jpg') no-repeat top center;
    background-size: cover;
    width: 200%;
    height: 100%;
    position: relative;
    left: -100%;
    transition: all 0.6s ease-in-out;
    color: #fff;
}

.sidebar-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: all 0.6s ease-in-out;
    z-index: 99;
}

.login_pra {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: 100%;
    padding: 0 2.2rem;
}

.login_pra button {
    font-size: 0.25rem;
}

.login_over {
    right: 0;
}

.box.right_active .sidebar-container {
    transform: translateX(-100%);
}

/* .box.right_active .login_in1 {
    transform: translateX(100%);
} */

.box.right_active .login_reg {
    transform: translateX(100%);
    opacity: 1;
    z-index: 5;
    transition: all 0.5s ease-in-out;
}

.box.right_active .sidebar {
    transform: translateX(50%);
}

.box.right_active .login_inp {
    transform: translateX(0);
    transition: all 0.5s ease-in-out;
}

.box.right_active .login_over {
    transform: translateX(20%);
    transition: all 0.5s ease-in-out;
}